using System.Collections;

namespace GeneralLibs
{
    public class DescComparer:IComparer
    {
        public virtual int Compare(object a, object b)
        {
            return new Comparer(new System.Globalization.CultureInfo("es-ES")).Compare(a, b) * -1;
            if (a is int && b is int)
            {
                if ((int)a > (int)b) return -1;
                else if ((int)a == (int)b) return 0;
                else return 1;
            }
            else return 0;
        }
    }
}
